<?php $this->render("mheader.php");?>

<div class="main_box">   
    <div class="w_986 create_top_buzhou create_top_set_pho"></div>
    
    <div class="w_986 plate_986">
        <div class="plate_986_bg top_bg"></div>
        <div class="plate_986_bg mid_bg">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class=" register_table">
              <tr>
                <th>选择横幅图片：</th>
                <td>
                <form id="form1" name="form1" enctype="multipart/form-data" method="post" action="<?php echo $this->url($this->baseUrl, "meetcp", "create3", "mid=" . $this->minfo['mid']);?>">
                <input type="file" name="image" id="image" />
                <input type="submit" name="submit" id="submit" value="上传" />
                </form>
                </td>
              </tr>
              <tr>
              	<td style="height:20px;"></td>
                <td style="height:20px;"></td>
              </tr>
              <tr>
                <th valign="top">图片预览区：</th>
                <td>
                	<div class="create_3_img_box">
                    	<div class="f_l img_box">
                    	<?php if (!empty($this->previewimg)){
                    		$ext = pathinfo ($this->previewimg, PATHINFO_EXTENSION);
                    		if (strtolower($ext) == 'swf'){
?>
  <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="490" height="100">
    <param name="movie" value="<?php echo $this->baseUrl;?>/<?php echo $this->previewimg;?>">
    <param name="quality" value="high">
    <param name="wmode" value="opaque">
    <param name="swfversion" value="6.0.65.0">
    <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="<?php echo $this->baseUrl;?>/<?php echo $this->previewimg;?>" width="490" height="100">
      <!--<![endif]-->
      <param name="quality" value="high">
      <param name="wmode" value="opaque">
      <param name="swfversion" value="6.0.65.0">
      <div>
        <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
        <h4><a href="<?php echo $this->baseUrl;?>/index.php">点击访问首页</a></h4>
    	<p><br /></p>
        <p><a href="http://www.adobe.com/go/getflashplayer">下载swf播放器</a></p>
      </div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>

<?php 
							}else{
								echo '<img src="' . $this->baseUrl . '/' . $this->previewimg .'" width="490" height="100" />';
							}
                    	}else{?>
                    	<img src="images/<?php echo $this->minfo['c_style'];?>/create_head_bg.png" width="490" height="100" />
                        <?php }?>
                        </div>
                        <div class="f_l img_link"><a  href="javascript:void(0);" onclick="javascript:setPhoto(<?php echo $this->minfo['mid']?>, '<?php echo $this->previewimg;?>');" class="btn_blue_bor">使用图片</a></div>
                        <div class="clear"></div>
                    </div>
                    <div class="c_gray6 f12">图片格式为jpg / png / gif / swf， 图片文件不大于5MB，尺寸为：980 * 200</div>
                </td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>

        	<div class="clear"></div>
            
            <div class="txt_r">
            	<a href="<?php echo $this->baseUrl . '/?c=meetcp&a=create2&mid=' . $this->minfo['mid']?>" class="line_bg_all btn_blue30">◀ 上一步</a>
                &nbsp;&nbsp;&nbsp;&nbsp;
            	<a href="<?php echo $this->baseUrl . '/?c=meetcp&a=create4&key=top&mid=' . $this->minfo['mid']?>" class="line_bg_all btn_blue30">下一步 ▶</a>                
            </div>
        </div>
    	<div class="plate_986_bg bot_bg"></div>
    </div>
    
</div>


<?php $this->render("footer.php");?>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/meetcp/meet_create.js"></script>

<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
</script>
</body>
</html>
